package br.com.tcc.jpa;

public class TransactionHandler {
	
	public static void start(){
		DataBaseManager.entityManager.getTransaction().begin();
	}
	public static void commit(){
		DataBaseManager.entityManager.getTransaction().commit();
	}
	public static void rollback(){
		DataBaseManager.entityManager.getTransaction().rollback();
	}
	
}
